package com.jt9003.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;
//患者病例
public class Patient_case_history {
    private Integer pCaseId;

    private Integer pId;
    private Integer rId;

    private String pStatement;

    private String pPastIllness;    //过往病症

    private String pExamination;    //体检

    private String pAuxiliary;

    private String pIdea;
    @JsonFormat(pattern="yyyy-MM-dd")
    private Date pDiagnosisDate;

    private String pDiagnosisDoctor;

    private String pCaseNumber;
    //病历号
    private String patientCaseHistory;
    //患者
    private Patient patient;
    //开方时间（假字段，方便数据展示添加）
    private Date preOpenDate;
    //患者姓名
    private String pName;

    //当前登陆人的token
    private String token;

    //穿梭框需要的格式,用于接收穿梭框的数据
    private Integer value;      //id
    private String title;       //病证名

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public Integer getrId() {
        return rId;
    }

    public void setrId(Integer rId) {
        this.rId = rId;
    }
    public String getpName() {
        return pName;
    }

    public void setpName(String pName) {
        this.pName = pName;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }


    public Patient getPatient() {
        return patient;
    }

    public void setPatient(Patient patient) {
        this.patient = patient;
    }

    public Date getPreOpenDate() {
        return preOpenDate;
    }

    public void setPreOpenDate(Date preOpenDate) {
        this.preOpenDate = preOpenDate;
    }

    public String getPatientCaseHistory() {
        return patientCaseHistory;
    }

    public void setPatientCaseHistory(String patientCaseHistory) {
        this.patientCaseHistory = patientCaseHistory;
    }

    public Integer getpCaseId() {
        return pCaseId;
    }

    public void setpCaseId(Integer pCaseId) {
        this.pCaseId = pCaseId;
    }

    public Integer getpId() {
        return pId;
    }

    public void setpId(Integer pId) {
        this.pId = pId;
    }

    public String getpStatement() {
        return pStatement;
    }

    public void setpStatement(String pStatement) {
        this.pStatement = pStatement == null ? null : pStatement.trim();
    }

    public String getpPastIllness() {
        return pPastIllness;
    }

    public void setpPastIllness(String pPastIllness) {
        this.pPastIllness = pPastIllness == null ? null : pPastIllness.trim();
    }

    public String getpExamination() {
        return pExamination;
    }

    public void setpExamination(String pExamination) {
        this.pExamination = pExamination == null ? null : pExamination.trim();
    }

    public String getpAuxiliary() {
        return pAuxiliary;
    }

    public void setpAuxiliary(String pAuxiliary) {
        this.pAuxiliary = pAuxiliary == null ? null : pAuxiliary.trim();
    }

    public String getpIdea() {
        return pIdea;
    }

    public void setpIdea(String pIdea) {
        this.pIdea = pIdea == null ? null : pIdea.trim();
    }

    public Date getpDiagnosisDate() {
        return pDiagnosisDate;
    }

    public void setpDiagnosisDate(Date pDiagnosisDate) {
        this.pDiagnosisDate = pDiagnosisDate;
    }

    public String getpDiagnosisDoctor() {
        return pDiagnosisDoctor;
    }

    public void setpDiagnosisDoctor(String pDiagnosisDoctor) {
        this.pDiagnosisDoctor = pDiagnosisDoctor == null ? null : pDiagnosisDoctor.trim();
    }

    public String getpCaseNumber() {
        return pCaseNumber;
    }

    public void setpCaseNumber(String pCaseNumber) {
        this.pCaseNumber = pCaseNumber == null ? null : pCaseNumber.trim();
    }
}